<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>销售订单查询-单条</title>

    <link rel="stylesheet" href="../../libs/bootstrap.min.css">
    <link rel="stylesheet" href="../../libs/thirdly/font-awesome.min.css">
    <link rel="stylesheet" href="../../libs/jqGrid/ui.jqgrid-bootstrap.css">
    <!--<link rel="stylesheet" href="../../libs/datetimepicker/css/bootstrap-datetimepicker.min.css">-->
    <link rel="stylesheet" href="../../css/common.css">
    <link rel="stylesheet" href="../../css/OMS/OMS000107.css">

    <script src="../../libs/jquery.min.js"></script>
    <script src="../../libs/jquery-ui.js"></script>
    <!--<script src="../../libs/datetimepicker/js/bootstrap-datetimepicker.min.js"></script>-->
    <!--<script src="../../libs/datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js"></script>-->
    <script src="../../libs/jqGrid/grid.locale-cn.js"></script>
    <script src="../../libs/jqGrid/jquery.jqGrid.min.js"></script> 

    <script src="../../js/config.js"></script>

</head>
<body>
    <div class="m_wrapper">
        <aside class="u_menu_container">
        </aside>
    <section class="u_wrapper">
        <header>
            <div class="u_header">
                <h2>销售订单查询-单条</h2>
            </div>
        </header>
        <div class="u_content_wrapper">
            <div class="u_toolbar u_user">
                <ul class="u_toolgroup">
                    <li class="u_tool" data-opt="save">
                        <i class="fa fa-save"></i>
                        <span>保存</span>
                    </li>
                    <li class="u_tool" data-opt="add">
                        <i class="fa fa-plus"></i>
                        <span>创建发货通知</span>
                    </li>
                    <li class="u_tool" data-opt="back">
						<i class="fa fa-reply"></i>
                        <span>返回</span>
					</li>
                </ul>
            </div>
            <div class="u_contents clearfix">
                <div class="u_row">
                    <div class="u_col_6x">
                        <div class="u_block_content">
                            <div class="form-horizontal">
                                <div class="form-group">
                                    <label class="data-label">订单单号</label>
                                    <div class="data-input">
                                        <input disabled class="form-control" type="text" value="" disabled placeholder="自动生成..." data-field="OrderNo">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="data-label">公司代码</label>
                                    <div class="data-input input-exp input-card">
                                        <input disabled class="form-control" type="text" data-field="CardCode">
                                        <i class="fa fa-plus-circle"></i>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="data-label">公司名称</label>
                                    <div class="data-input input-exp input-card">
                                        <input disabled class="form-control" type="text" data-field="CardName">
                                        <i class="fa fa-plus-circle"></i>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="data-label">用户代码</label>
                                    <div class="data-input">
                                        <input disabled class="form-control" type="text" value="" data-field="UserCode">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="data-label">用户名称</label>
                                    <div class="data-input">
                                        <input disabled class="form-control" type="text" value="" data-field="UserName">
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="u_col_6x">
                        <div class="u_block_content">
                            <div class="form-horizontal">
                                <div class="form-group">
                                    <label class="data-label">单据状态</label>
                                    <div class="data-input">
                                        <select disabled class="form-control" name="" id="DocStatus">
                                            <option value="O">未清</option>
                                            <option value="C">已清</option>
                                            <option value="I">正在取消</option>
                                            <option value="L">取消</option>
                                        </select>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="data-label">取消原因</label>
                                    <div class="data-input">
                                        <input disabled class="form-control" id="CancelReason">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="data-label">创建时间</label>
                                    <div class="data-input">
                                        <input disabled class="form-control" type="text" id="CreateDate">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="data-label">更新时间</label>
                                    <div class="data-input">
                                        <input disabled class="form-control" type="text" id="UpdateDate">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="data-label">计划发货日期</label>
                                    <div class="data-input">
                                        <input disabled class="form-control" type="text" id="DeliverDate">
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <hr>    
                <div class="u_row">
                    <div class="u_col_6x">
                        <div class="u_block_content">
                            <div class="form-horizontal">
                                <div class="form-group">
                                    <label class="data-label">创建人</label>
                                    <div class="data-input">
                                        <input disabled class="form-control" type="text" value="" data-field="ItemDocEntry">
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="data-label">备注</label>
                                    <div class="data-input">
                                        <textarea disabled class="form-control" value="" data-field="Comment"></textarea>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="u_col_6x">
                        <div class="u_block_content">
                            <div class="form-horizontal">
                                <div class="form-group">
                                    <label class="data-label">总计</label>
                                    <div class="data-input">
                                        <input disabled class="form-control" type="text" value="" data-field="ItemDocTotal">
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="u_tabs_container">
                    <ul class="u_tabs clearfix">
                        <li class="u_tab u_tab_active" data-tab="detail">物料明细</li>
                        <li class="u_tab" data-tab="logistics">物流信息</li>
                        <li class="u_tab" data-tab="taxs">开票信息</li>
                    </ul>
                    <ul class="u_panes clearfix">
                        <li class="u_pane u_pane_active" data-pane="detail">
                            <div class="u_row">
                                <div class="u_col_12x">
                                    <div class="u_block_content">
                                        <!--<div class="u_btns">
                                            <a class="u_btn btn btn-info" id="BrandBtn">
                                                <i class="fa fa-plus"></i>
                                                添&nbsp;加
                                            </a>
                                            <span></span>
                                        </div>-->
                                        <div class="u_table_container">
                                            <table id="jgTable"></table>
                                            <div id="jgPager"></div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </li>
                        <li class="u_pane" data-pane="logistics">
                            <div class="u_row">
                                <!--<div class="u_col_6x">
                                    <div class="u_block_content">
                                        <div class="form-horizontal">
                                            <div class="form-group">
                                                <label class="data-label">发货方式</label>
                                                <div class="data-input">
                                                    <select disabled class="form-control" value="" data-field="">
                                                        <option value="">送货上门</option>
                                                        <option value="">零担车</option>
                                                    </select>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>-->
                                <!--<div class="u_col_6x">
                                    <div class="u_block_content">
                                        <div class="form-horizontal">
                                            <div class="form-group">
                                                <label class="data-label">客户路线</label>
                                                <div class="data-input">
                                                    <select disabled class="form-control" value="" data-field="">
                                                        <option value="">北流线</option>
                                                        <option value="">容县线</option>
                                                    </select>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>-->
                                <!--<div class="u_col_12x">
                                    <div class="u_block_content">
                                        <div class="form-horizontal">
                                            <div class="form-group">
                                                <label class="data-label">送货地址</label>
                                                <div class="data-input inline">
                                                    <select disabled class="form-control" value="" data-field="">
                                                        <option value="">送货到仓库</option>
                                                        <option value="">送货到门店</option>
                                                    </select>
                                                </div>
                                                <div class="data-input inline">
                                                    <select disabled class="form-control" value="" data-field="">
                                                        <option value="">请选择省市区</option>
                                                    </select>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="u_col_6x">
                                    <div class="u_block_content">
                                        <div class="form-horizontal">
                                            <div class="form-group">
                                                <label class="data-label">详细地址</label>
                                                <div class="data-input">
                                                    <textarea disabled class="form-control" value="" data-field=""></textarea>
                                                </div>
                                            </div>
                                            <div class="form-group">
                                                <label class="data-label">发货人</label>
                                                <div class="data-input">
                                                    <input disabled class="form-control" type="text">
                                                </div>
                                            </div>
                                            <div class="form-group">
                                                <label class="data-label">发货电话</label>
                                                <div class="data-input">
                                                    <input disabled class="form-control" type="text">
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>-->
                                <div class="u_col_6x">
                                    <div class="u_block_content">
                                        <div class="form-horizontal">
                                            <div class="form-group">
                                                <label class="data-label">收货地址ID</label>
                                                <div class="data-input">
                                                    <input disabled class="form-control" type="text" value="" id="AddressId">
                                                </div>
                                            </div>
                                            <div class="form-group">
                                                <label class="data-label">省</label>
                                                <div class="data-input input-exp">
                                                    <input disabled class="form-control" type="text" value="" id="Province">
                                                </div>
                                            </div>
                                            <div class="form-group">
                                                <label class="data-label">市</label>
                                                <div class="data-input">
                                                    <input disabled class="form-control" type="text" value="" id="City">
                                                </div>
                                            </div> 
                                            <div class="form-group">
                                                <label class="data-label">地区</label>
                                                <div class="data-input">
                                                    <input disabled  class="form-control" type="text" value="" id="Area">
                                                </div>
                                            </div> 
                                            <div class="form-group">
                                                <label class="data-label">街道</label>
                                                <div class="data-input">
                                                    <input disabled  class="form-control" type="text" value="" id="Street">
                                                </div>
                                            </div>
                                            <div class="form-group">
                                                <label class="data-label">详细地址</label>
                                                <div class="data-input">
                                                    <input disabled  class="form-control" type="text" value="" id="Address">
                                                </div>
                                            </div>
                                            <div class="form-group">
                                                <label class="data-label">收货人</label>
                                                <div class="data-input">
                                                    <input disabled class="form-control" type="text" value="" id="Receiver">
                                                </div>
                                            </div> 
                                            <div class="form-group">
                                                <label class="data-label">收货人电话</label>
                                                <div class="data-input">
                                                    <input disabled class="form-control" type="text" value="" id="ReceiverPhone">
                                                </div>
                                            </div> 
                                        </div>
                                    </div>
                                </div>
                                <div class="u_col_12x">
                                    <div class="checkbox">
                                        <label>
                                            <input disabled type="checkbox">自动创建发货通知
                                        </label>
                                    </div>
                                </div>
                            </div>
                        </li>
                        <li class="u_pane" data-pane="taxs">
                            <div class="u_col_6x">
                                <div class="u_block_content">
                                    <div class="form-horizontal">
                                        <div class="form-group">
                                            <label class="data-label">开票公司名称</label>
                                            <div class="data-input">
                                                <input disabled class="form-control" type="text" value="" id="TaxCompany">
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="data-label">开票类型</label>
                                            <div class="data-input input-exp">
                                                <input disabled class="form-control" type="text" value="" id="TaxType">
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="data-label">开户行</label>
                                            <div class="data-input">
                                                <input disabled class="form-control" type="text" value="" id="TaxBank">
                                            </div>
                                        </div> 
                                        <div class="form-group">
                                            <label class="data-label">电话</label>
                                            <div class="data-input">
                                                <input disabled  class="form-control" type="text" value="" id="TaxPhone">
                                            </div>
                                        </div> 
                                        <div class="form-group">
                                            <label class="data-label">地址</label>
                                            <div class="data-input">
                                                <input disabled  class="form-control" type="text" value="" id="TaxAddress">
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="data-label">开票账号</label>
                                            <div class="data-input">
                                                <input disabled  class="form-control" type="text" value="" id="TaxAccount">
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <label class="data-label">开票税号</label>
                                            <div class="data-input">
                                                <input disabled class="form-control" type="text" value="" id="TaxNumber">
                                            </div>
                                        </div> 
                                    </div>
                                </div>
                            </div>
                        </li>
                    </ul>
                </div>
            </div>

            <footer>
                <div class="u_footer">
                    <div class="u_btns">
                        <a class="u_btn btn btn-success" id="js_submit">
                            <i class="fa fa-save"></i>
                            保&nbsp;存
                        </a>
                        <a class="u_btn btn btn-success" id="plusBtn">
                            <i class="fa fa-plus"></i>
                            创建发货通知
                        </a>
                    </div>
                </div>
            </footer>

        </div>
    </section>

    <!-- 自定义模态框 -->
    <div id="Modal0s" class="modal-overlay hidden"> 
        <div class="modal-data">
            <i class="u_restore"></i>
            <!-- 头部 -->
            <div class="u_modal_header">
                <ul class="u_toolgroup u_search pull-left">
                    <li class="u_tool" id="opt_search" data-opt="opt_search">
                        <input disabled type="text" value="" placeholder="搜索">
                        <i class="fa fa-search"></i>
                    </li>
                </ul>
                <ul class="list-inline pull-right">
                    <li class="u_title u_minimize">
                        <i class="glyphicon glyphicon-minus"></i>
                    </li>
                    <li class="u_title u_close">
                        <i class="glyphicon glyphicon-remove"></i>
                    </li>
                </ul>
            </div>
            <!-- 主体 -->
            <div class="u_modal_body">
                <div class="u_table_container">
                    <table id="jgTable0s"><!-- jqgrid --></table>
                    <div id="jgPager0s"></div>
                </div>
                <div class="u_footer pull-left">
                    <button type="button" class="btn btn-success" id="addBtn2">
                        <i class="fa fa-save"></i>
                        保存修改
                    </button>
                </div>
            </div>
        </div>
    </div>    

<script src="../../js/publicTpl.js"></script>
<script src="../../js/common.js"></script>
<script src="../../js/publicGrid.js"></script>
<script src="../../js/OMS/OMS000107.js"></script>

</body>
</html>